package com.baosight.risk.service.workflow.entity;

import java.io.Serializable;
import javax.persistence.*;

import lombok.Data;

/**
 * Table: TEWPD03
 */
@Data
public class Tewpd03 implements Serializable {
    /**
     * 活动定义的标识
     * <p>
     * Table:     TEWPD03
     * Column:    NODE_DEF_ID
     * Nullable:  false
     */
    @Id
    @Column(name = "NODE_DEF_ID")
    private String nodeDefId;

    /**
     * 流程定义的标识
     * <p>
     * Table:     TEWPD03
     * Column:    PROCESS_DEF_ID
     * Nullable:  false
     */
    @Id
    @Column(name = "PROCESS_DEF_ID")
    private String processDefId;

    /**
     * 活动定义编码
     * <p>
     * Table:     TEWPD03
     * Column:    NODE_KEY
     * Nullable:  true
     */
    @Column(name = "NODE_KEY")
    private String nodeKey;

    /**
     * 流程定义编码
     * <p>
     * Table:     TEWPD03
     * Column:    PROCESS_NAME
     * Nullable:  false
     */
    @Column(name = "PROCESS_NAME")
    private String processName;

    /**
     * 活动定义的显示名称
     * <p>
     * Table:     TEWPD03
     * Column:    NODE_NAME
     * Nullable:  false
     */
    @Column(name = "NODE_NAME")
    private String nodeName;

    /**
     * 活动定义的描述信息
     * <p>
     * Table:     TEWPD03
     * Column:    DESCRIPTION
     * Nullable:  false
     */
    @Column(name = "DESCRIPTION")
    private String description;

    /**
     * 是否延迟分配
     * <p>
     * Table:     TEWPD03
     * Column:    ISDEFFERED
     * Nullable:  false
     */
    @Column(name = "ISDEFFERED")
    private Long isdeffered;

    /**
     * 活动定义的类型
     * <p>
     * Table:     TEWPD03
     * Column:    NODE_TYPE
     * Nullable:  false
     */
    @Column(name = "NODE_TYPE")
    private String nodeType;

    /**
     * 业务地址的类型
     * <p>
     * Table:     TEWPD03
     * Column:    WORK_ADDRESS_TYPE
     * Nullable:  false
     */
    @Column(name = "WORK_ADDRESS_TYPE")
    private String workAddressType;

    /**
     * 业务地址
     * <p>
     * Table:     TEWPD03
     * Column:    WORK_ADDRESS
     * Nullable:  false
     */
    @Column(name = "WORK_ADDRESS")
    private String workAddress;

    /**
     * 工作项处理的类型
     * <p>
     * Table:     TEWPD03
     * Column:    WORKITEM_HANDLE_TYPE
     * Nullable:  false
     */
    @Column(name = "WORKITEM_HANDLE_TYPE")
    private String workitemHandleType;

    /**
     * 是否设置超时
     * <p>
     * Table:     TEWPD03
     * Column:    SET_TIME_OUT
     * Nullable:  false
     */
    @Column(name = "SET_TIME_OUT")
    private String setTimeOut;

    /**
     * 超时时限
     * <p>
     * Table:     TEWPD03
     * Column:    TIME_OUT
     * Nullable:  false
     */
    @Column(name = "TIME_OUT")
    private Long timeOut;

    /**
     * 超时策略
     * <p>
     * Table:     TEWPD03
     * Column:    TIME_OUT_POLICY
     * Nullable:  false
     */
    @Column(name = "TIME_OUT_POLICY")
    private String timeOutPolicy;

    /**
     * 提交方法
     * <p>
     * Table:     TEWPD03
     * Column:    SUBMIT_METHOD
     * Nullable:  true
     */
    @Column(name = "SUBMIT_METHOD")
    private String submitMethod;

    /**
     * 记录创建责任者
     * <p>
     * Table:     TEWPD03
     * Column:    REC_CREATOR
     * Nullable:  false
     */
    @Column(name = "REC_CREATOR")
    private String recCreator;

    /**
     * 记录创建时刻
     * <p>
     * Table:     TEWPD03
     * Column:    REC_CREATE_TIME
     * Nullable:  false
     */
    @Column(name = "REC_CREATE_TIME")
    private String recCreateTime;

    /**
     * 记录修改责任者
     * <p>
     * Table:     TEWPD03
     * Column:    REC_REVISOR
     * Nullable:  false
     */
    @Column(name = "REC_REVISOR")
    private String recRevisor;

    /**
     * 记录修改时刻
     * <p>
     * Table:     TEWPD03
     * Column:    REC_REVISE_TIME
     * Nullable:  false
     */
    @Column(name = "REC_REVISE_TIME")
    private String recReviseTime;

    /**
     * 归档标记
     * <p>
     * Table:     TEWPD03
     * Column:    ARCHIVE_FLAG
     * Nullable:  false
     */
    @Column(name = "ARCHIVE_FLAG")
    private String archiveFlag;

    /**
     * 后台脚本
     * <p>
     * Table:     TEWPD03
     * Column:    BACK_JSCRIPT
     * Nullable:  true
     */
    @Column(name = "BACK_JSCRIPT")
    private String backJscript;

    /**
     * 前台脚本
     * <p>
     * Table:     TEWPD03
     * Column:    FORE_JSCRIPT
     * Nullable:  true
     */
    @Column(name = "FORE_JSCRIPT")
    private String foreJscript;

    /**
     * 活动特性的XML描述
     * <p>
     * Table:     TEWPD03
     * Column:    XMLS
     * Nullable:  false
     */
    @Column(name = "XMLS")
    private String xmls;

    private static final long serialVersionUID = 1L;
}